package com.xu.cloud.common.openapi;

import org.springframework.context.annotation.Import;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 开启knife4j swagger2配置注解
 * <a href="https://doc.xiaominfo.com/docs/action/springboot">knife4j官方文档</a>
 *
 * @author xuguan
 * @since 2024/2/4
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Import(Knife4jOpenApi2DocketConfig.class)
public @interface EnableKnife4jOpenApi2 {
}
